package com.vcredit.creditcat.enumtype;
/**
 * 反馈状态
 * @author wuqi01
 *
 */
public enum FeedbackStatusEnum {
	NORMAL(1, "正常未跟进"), FOLLOWING(2, "反馈跟进中"), FOLLOWED(3, "反馈跟进完毕"),RESULT_CHANG(4,"修改反馈跟进信息");
	private Integer code;
	private String desc;

	private FeedbackStatusEnum(Integer code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public Integer getCode() {
		return code;
	}

	public String getDesc() {
		return desc;
	}
	
	public static FeedbackStatusEnum getEnumType(Integer value){
		if(null == value){return null;}
		FeedbackStatusEnum ret = null;
		for(FeedbackStatusEnum obj:FeedbackStatusEnum.values()){
			if(value == obj.getCode()){
				ret =  obj;
				break;
			}
		}
		return ret;
	}
}
